# RUN: yaml2obj %s -o %t.obj
# RUN: env LLD_IN_TEST=1 not lld-link %t.obj 2>&1 | FileCheck %s

# CHECK: getSectionName failed: #1:

--- !COFF
header:
  Machine:         IMAGE_FILE_MACHINE_AMD64
  Characteristics: []
sections:
  - Name:            '/1'
    Characteristics: []
    SectionData:     00
symbols:
